import LoginForm from '@/pages/system/login/LoginForm.tsx';
import { ConfigProvider, theme } from 'antd';
import { themeConfig } from '@ycx/ui';

const Login = () => {
  return (
    <>
      <ConfigProvider
        theme={{
          ...themeConfig['light'],
          algorithm: theme.defaultAlgorithm,
        }}
      >
        <div className="h-screen bg-login bg-cover bg-no-repeat">
          <div className="absolute right-0 h-full w-login-wrapper bg-white/80 shadow-login-card backdrop-blur-xl">
            <div className="pl-32 pr-32 pt-40">
              <p className="pb-5 text-5xl font-medium text-black">欢迎登录</p>
              <p className="text-2xl text-primary">智能养护管理工作台</p>

              <LoginForm />
            </div>
          </div>
        </div>
      </ConfigProvider>
    </>
  );
};

export default Login;
